package com.yeyks.service;

import com.yeyks.dal.domain.VipInfo;

/**
 * @Author fuchangshuai
 * @date 2019/2/27 1:05 PM
 */
public interface VipInfoService {

    void insertReturnId(VipInfo vipInfo);

    /**
     * 通过vip类型查询该用户是否是vip
     * @param id
     * @param type
     * @return
     */
    VipInfo selectVipInfoByUserIdAndType(Integer id, Integer type);
}
